using System;
using System.Collections.Generic;

namespace BotonJXC.Entity 
{
	/// <summary>
	/// Acceptance
	/// </summary>
	public class Acceptance : BaseEntity
	{
		public Acceptance()
		{
			
		}
		
		public virtual int AcceptanceId{ get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public virtual string AcceptanceSn { get; set; }
		/// <summary>
		/// 1: 供应商验收 2:采购验收 3:分店验收
		/// </summary>
		public virtual string AcceptanceType{ get; set; }
		//public virtual Int32 OrderId{ get; set; }
        /// <summary>
        /// 订单
        /// </summary>
        public virtual Orders Orders { get; set; }
		//public virtual Int32 WarehouseId{ get; set; }
        /// <summary>
        /// 存货地
        /// </summary>
        public virtual Warehouse Warehouse { get; set; }
		//public virtual Int32 DepId{ get; set; }
        /// <summary>
        /// 订货部门
        /// </summary>
        public virtual Department Department { get; set; }
		//public virtual Int32 SupplierId{ get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public virtual Supplier Supplier { get; set; }
        /// <summary>
        /// 辅助供应商
        /// </summary>
        public virtual Supplier SSupplier { get; set; }

		//public virtual Int32 CreaterId{ get; set; }

        public virtual Account Account { get; set; }
		public virtual DateTime? CreateTime{ get; set; }
		//public virtual Int32 AuditUser{ get; set; }
        public virtual Account AuditAccount { get; set; }
		public virtual string AuditStatus{ get; set; }
		public virtual DateTime? AuditTime{ get; set; }
		public virtual string AuditRemark{ get; set; }
		public virtual string Remark{ get; set; }
		/// <summary>
		/// 1: 分店管理
        //2: 配送中心
		/// </summary>
		public virtual string CreatePlace{ get; set; }
		/// <summary>
		/// 用于数据权限控制  分店
		/// </summary>
		public virtual Int32? OrgId{ get; set; }
        /// <summary>
        /// 部门
        /// </summary>
		public virtual Int32? OrgDepId{ get; set; }
        /// <summary>
        /// 货品信息
        /// </summary>
        public virtual IList<AcceptanceProducts> AcceptanceProductsList { get; set; }

        /// <summary>
        /// 管理部
        /// </summary>
        public virtual Department MgDepartment { get; set; }
        /// <summary>
        /// 财务部
        /// </summary>
        public virtual Department FinDepartment { get; set; }
        /// <summary>
        /// 业务员
        /// </summary>
        public virtual string Salesman { get; set; }
        /// <summary>
        /// 打印次数
        /// </summary>
        public virtual Int32 PrintTime { get; set; }
        /// <summary>
        /// 验收分店
        /// </summary>
        public virtual Store Store{ get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public virtual Payment Payment { get; set; }
	}
}

